package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class Admin implements Serializable {
    private Integer adminId;

    private String loginName;

    private String passWord;

    private String name;

    private Integer sex;

    private String position;

    private Integer tourist;

    private Date createTime;

    private Integer isDel;

    private static final long serialVersionUID = 1L;

    public Admin(Integer adminId, String loginName, String passWord, String name, Integer sex, String position, Integer tourist, Date createTime, Integer isDel) {
        this.adminId = adminId;
        this.loginName = loginName;
        this.passWord = passWord;
        this.name = name;
        this.sex = sex;
        this.position = position;
        this.tourist = tourist;
        this.createTime = createTime;
        this.isDel = isDel;
    }

    public Admin() {
        super();
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord == null ? null : passWord.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    public Integer getTourist() {
        return tourist;
    }

    public void setTourist(Integer tourist) {
        this.tourist = tourist;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
}